package com.lingyu.jsjx.mapper;

import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lingyu.jsjx.domain.ExpertEmployment;

/**
 * 专家任职档案Mapper接口
 * 
 * @author ruoyi
 * @date 2025-08-08
 */
public interface ExpertEmploymentMapper extends BaseMapper<ExpertEmployment>
{
    /**
     * 查询专家任职档案
     * 
     * @param expertId 专家任职档案主键
     * @return 专家任职档案
     */
    public ExpertEmployment selectExpertEmploymentByExpertId(Long expertId);

    /**
     * 查询专家任职档案列表
     * 
     * @param expertEmployment 专家任职档案
     * @return 专家任职档案集合
     */
    public List<ExpertEmployment> selectExpertEmploymentList(ExpertEmployment expertEmployment);

    /**
     * 新增专家任职档案
     * 
     * @param expertEmployment 专家任职档案
     * @return 结果
     */
    public int insertExpertEmployment(ExpertEmployment expertEmployment);

    /**
     * 修改专家任职档案
     * 
     * @param expertEmployment 专家任职档案
     * @return 结果
     */
    public int updateExpertEmployment(ExpertEmployment expertEmployment);

    /**
     * 删除专家任职档案
     * 
     * @param expertId 专家任职档案主键
     * @return 结果
     */
    public int deleteExpertEmploymentByExpertId(Long expertId);

    /**
     * 批量删除专家任职档案
     * 
     * @param expertIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteExpertEmploymentByExpertIds(Long[] expertIds);
}
